package com.topway.dsmflex.model.servers;

import java.util.Date;

import com.topway.dsmflex.model.base.DataPropertyBean;

/**
 * 
 * @author liusy 2013-10-21
 *
 */
public class DataServerBean extends DataPropertyBean {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final String SERVER_STATE = "SERVER_STATE";
	
	public String ip;
	public String port;
	public String remark;
	/**
	 * 1正常，2异常
	 */
	public int serverState = 0;
	
	public Date stratDate;
	public Date endDate;
	
	public DataServerBean(){

	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}


	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	
	
	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	@Override
	public void Run() {
		this.isRun=true;
	}

	public int getServerState() {
		return serverState;
	}

	public void setServerState(int serverState) {
		this.serverState = serverState;
	}

	public Date getStratDate() {
		return stratDate;
	}

	public void setStratDate(Date stratDate) {
		this.stratDate = stratDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	
	
}
